<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class BackOrderItem extends Model
{
    protected $guarded = [];
    public $timestamps = false;

    public function back_order()
    {
        return $this->belongsTo(Order::class);
    }

    public function book()
    {
        return $this->belongsTo(Book::class);
    }

    public function sell_order_item()
    {
        return $this->hasOne(SellOrderItem::class);
    }
}
